#include "SiuCommon.h"
#include "SiuRendererD3D9.h"

SiuRendererD3D9* renderModule;

extern "C"  void  __declspec(dllexport) SiuModuleInitialize(GlobalEnvironment* pEnv)
{
	if (pEnv)
	{
		renderModule = new SiuRendererD3D9();
		pEnv->pRenderer = renderModule;
	}
}

extern "C"  void  __declspec(dllexport) SiuModuleUnload()
{
	delete renderModule;
}